public class Year extends CalendarUnit {
	public Year(int pYear) {
		setCurrentPos(pYear);
	}

	public int getYear() {
		return currentPos;
	}

	public boolean increment() {
		currentPos = currentPos + 1;
		return true;
	}

	public boolean isLeap() {
		if (((currentPos % 4 == 0) && (currentPos % 400 != 0))
				|| (currentPos % 400 == 0))
			return true;
		else
			return false;
	}
}
